package com.gitee.dbswitch.data.domain;

import com.gitee.dbswitch.core.exchange.MemChannel;
import com.gitee.dbswitch.core.robot.RobotAPI;
import com.gitee.dbswitch.core.robot.RobotReader;
import com.gitee.dbswitch.core.task.TaskParam;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * api http 写入线程的出参
 *
 * @author natural
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class APIWriterTaskParam implements TaskParam {

    private MemChannel memChannel;
    private RobotAPI robotAPI;
    private boolean concurrentWrite;
}
